/**
 * Coryright 2015-2020 www.eyaomall.cn
 * All rights reserved.
 * @author yuhuafeng
 * @date 2016年10月11日
 *
 */

package com.eyaomall.wxmall.common.util;

import com.alibaba.fastjson.JSON;
import com.aliyun.api.gateway.logisticstracking.model.QueryExpressInfoResult;
import com.aliyun.api.gateway.logisticstracking.sdk.LogisticstrackUtil;

/**
 * 快递信息查询工具
 * 
 * @author yuhuafeng
 * @date 2016-10-11
 */
public class ExpressInfoUtils extends LogisticstrackUtil {

	public static void main(String args[]) throws Exception {

		QueryExpressInfoResult queryExpressInfoResult = ExpressInfoUtils.queryExpress("3906100127692", "AUTO");
		System.out.println(JSON.toJSONString(queryExpressInfoResult));

		// ExpressInfoUtils.queryExpress("3906100127692", "AUTO");
		// System.out.println(JSON.toJSONString(ExpressInfoUtils.queryExpress("3906100127692",
		// "AUTO")));
		// System.out.println(JSON.toJSONString(ExpressInfoUtils.queryExpressCompany()));
	}
}
